#if !defined(AFX_SETPIXELSIZE_H__C37F2CB1_E943_40C2_85A5_A463E1AB3AA9__INCLUDED_)
#define AFX_SETPIXELSIZE_H__C37F2CB1_E943_40C2_85A5_A463E1AB3AA9__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SetPixelSize.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CSetPixelSize dialog
#define	MIN_LBOUND_BALL_SIZE	0
#define	MAX_LBOUND_BALL_SIZE	700
#define	MIN_UBOUND_BALL_SIZE	0
#define	MAX_UBOUND_BALL_SIZE	700

#define	MIN_LBOUND_BIG_TEAM_SIZE	0
#define	MAX_LBOUND_BIG_TEAM_SIZE	900
#define	MIN_UBOUND_BIG_TEAM_SIZE	0
#define	MAX_UBOUND_BIG_TEAM_SIZE	900

#define	MIN_LBOUND_SMALL_ID_SIZE	0
#define	MAX_LBOUND_SMALL_ID_SIZE	500
#define	MIN_UBOUND_SMALL_ID_SIZE	0
#define	MAX_UBOUND_SMALL_ID_SIZE	500

#define	MIN_LBOUND_OPPONENT_SIZE	0
#define	MAX_LBOUND_OPPONENT_SIZE	900
#define	MIN_UBOUND_OPPONENT_SIZE	0
#define	MAX_UBOUND_OPPONENT_SIZE	900

// default upper and lower ranges of each color
/*#define DEF_NOISE_FILTERING_SIZE	10		// dependant on a real situation
#define	DEF_LBOUND_BALL_SIZE		DEF_NOISE_FILTERING_SIZE
#define	DEF_UBOUND_BALL_SIZE		400
#define	DEF_LBOUND_BIG_TEAM_SIZE	10
#define	DEF_UBOUND_BIG_TEAM_SIZE	500
#define	DEF_LBOUND_SMALL_ID_SIZE	DEF_NOISE_FILTERING_SIZE
#define	DEF_UBOUND_SMALL_ID_SIZE	500

#define	DEF_LBOUND_OPPONENT_SIZE	DEF_NOISE_FILTERING_SIZE
#define	DEF_UBOUND_OPPONENT_SIZE	700
*/
class CSetPixelSize : public CDialog
{
// Construction
public:
	CSetPixelSize(CWnd* pParent = NULL);   // standard constructor
	short nLBoundBallSize, nUBoundBallSize;
	short nLBoundBigTeamSize, nUBoundBigTeamSize;
	short nLBoundSmallIDSize, nUBoundSmallIDSize;
	short nLBoundOpponentSize, nUBoundOpponentSize;

// Dialog Data
	//{{AFX_DATA(CSetPixelSize)
	enum { IDD = IDD_SET_PIXEL_SIZE };
	CSpinButtonCtrl	m_cLBoundOpponentSize;
	CSpinButtonCtrl	m_cUBoundOpponentSize;
	CSpinButtonCtrl	m_cUBoundSmallIDSize;
	CSpinButtonCtrl	m_cUBoundBigTeamSize;
	CSpinButtonCtrl	m_cLBoundSmallIDSize;
	CSpinButtonCtrl	m_cLBoundBigTeamSize;
	CSpinButtonCtrl	m_cUBoundBallSize;
	CSpinButtonCtrl	m_cLBoundBallSize;
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSetPixelSize)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSetPixelSize)
	afx_msg void OnDefaultSetPixelSize();
	virtual BOOL OnInitDialog();
	afx_msg void OnDeltaposLboundBallSizeSpin(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDeltaposLboundBigTeamSpin(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDeltaposLboundOpponentSpin(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDeltaposLboundSmallIdSpin(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDeltaposUboundBallSizeSpin(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDeltaposUboundBigTeamSpin(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDeltaposUboundOpponentSpin(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDeltaposUboundSmallIdSpin(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SETPIXELSIZE_H__C37F2CB1_E943_40C2_85A5_A463E1AB3AA9__INCLUDED_)
